package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.constant.DatePattern;
import com.weixing.mall.base.enums.WhetherEnum;
import com.weixing.mall.provider.api.model.enums.AgentLevelEnum;
import com.weixing.mall.provider.api.model.enums.AgentTypeEnum;
import com.weixing.mall.provider.api.model.enums.IsOfficialEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * AgentCommInfoVo
 * @author  gjq
 * @date  2019/9/23
 * @since  1.0
 **/
@Data
public class AgentCommInfoVo {
    private Long agentId;
    private String agentSn;
    private String agentName;
    private String mobile;
    private AgentLevelEnum agentLevel;
    private AgentTypeEnum agentType;
    private IsOfficialEnum isOfficial;
    private BigDecimal agencyFeeYear;
    private BigDecimal agencyFeeMonth;
    private WhetherEnum isEnable;
    private WhetherEnum isBind;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date firstRenewTime;
    /**
     * 代理商到期时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date maturityTime;

    /**
     * 上次到期时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date lastMaturityTime;

    /**
     * 生效时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date effectTime;
    private String customerName;

    /**
     * 代理商微信
     */
    private  String agentWechat;
    /**
     * 代理商地址
     */
    private  String agentAddress;

    private  String agentParent;
}
